<template>
  <div id="footer">
      <nav class="mui-bar mui-bar-tab">
			<router-link to="/" class="my-tab-item mui-active">
				<span class="mui-icon mui-icon-pengyouquan"></span>
				<span class="mui-tab-label">首页</span>
			</router-link>
			<router-link to="/a" class="my-tab-item">
				<span class="mui-icon mui-icon-pengyouquan"></span>
				<span class="mui-tab-label">消息</span>
			</router-link>
			<router-link to="/b" class="my-tab-item">
				<span class="mui-icon mui-icon-pengyouquan"></span>
				<span class="mui-tab-label">通讯录</span>
			</router-link>
      		<router-link to="/music"  class="my-tab-item">
                <span class="mui-icon mui-icon-pengyouquan"></span>
				<span class="mui-tab-label">音乐</span>
            </router-link>
        </nav>
        <div style="width:100%;height:50px;"></div>
  </div>
</template>

<script>
export default {
  name: 'footer',
  data(){
      return{

      }
  }
}
</script>

<style scoped>
.mui-bar-tab {
    bottom: 0;
    display: table;
    height: 50px;
    padding: 0;
    table-layout: fixed;
    border-top: 0;
    border-bottom: 0;
    -webkit-touch-callout: none;
}
.mui-bar {
    position: fixed;
    z-index: 10;
    right: 0;
    left: 0;
    height: 44px;
    padding-right: 10px;
    padding-left: 10px;
    border-bottom: 0;
    background-color: #f7f7f7;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .85);
    box-shadow: 0 0 1px rgba(0, 0, 0, .85);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.mui-bar-tab .my-tab-item {
    display: table-cell;
    overflow: hidden;
    width: 1%;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #929292;
}
.mui-bar-tab .my-tab-item .mui-icon {
    top: 3px;
    width: 24px;
    height: 24px;
    padding-top: 0;
    padding-bottom: 0;
}
.mui-bar-tab .my-tab-item .mui-icon ~ .mui-tab-label {
    font-size: 11px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.router-link-exact-active{
    color: #42bd56 !important;
}
</style>
